package com.jingdianjichi.subject.domain.convert;


import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectBrief;
import com.jingdianjichi.subject.infra.basic.entity.SubjectJudge;
import com.jingdianjichi.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MultipleSubjectConverter {
    MultipleSubjectConverter INSTANCE =Mappers.getMapper(MultipleSubjectConverter.class);

    //BO转SubjectMultiple
    SubjectMultiple convertBoToEntity(SubjectAnswerBO subjectAnswerBO);


    //SubjectMultiple转List<SubjectAnswerBO>
    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectMultiple> subjectMultipleList);

}
